﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

#pragma warning disable 0618
namespace SpaceDash.Data
{
    [System.Serializable]
    //玩家结构体
    public class Player
    {
        public int playerNumber;//玩家编号
        public string playerName;//玩家名称
        public int heroNumber;//使用角色编号

        public GameObject gameObject;//存一些位置信息

        public Vector3 direction;//前进方向||速度方向

        public float maxSpeed;
        public float speed;//速度
        public float acceleration;//加速度

        public float jumpBaseSpeed;
        public float jumpForce;
        public float turnSensitivity;

        public bool isJump;//是否跳
        public bool isDoubleJump;//是否二连跳
        public bool isSlip;//是否下滑

        public int goldCount;//已经拾取的金币数量
    }
}
